package cn.com.zpark.servlet;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @PackageName: cn.com.zpark.servlet
 * @ClassName: ServletDemo09
 * @Description:
 * @author: RZS
 * @date: 2021/11/9  18:02
 */
@WebServlet(urlPatterns = {"/sd9.do", "/sd99.do", "/sd9"})
public class ServletDemo09 extends HttpServlet {
    @Override
    protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
        resp.getWriter().write("<h1>ServletDemo09</h1>");
        System.out.println("ServletDemo09执行了");
    }
}
